[INFO] cloning repository https://github.com/jakubDoka/Catalyst
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/jakubDoka/Catalyst" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FjakubDoka%2FCatalyst", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FjakubDoka%2FCatalyst'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 12ad1d02033597b8289ded8023935176bb24c7a9
[INFO] checking jakubDoka/Catalyst against master#2e677c0645862d17a12c6d04b3019203c8e23fcc for pr-106493
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FjakubDoka%2FCatalyst" "/workspace/builds/worker-4-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc1/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/jakubDoka/Catalyst on toolchain 2e677c0645862d17a12c6d04b3019203c8e23fcc
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+2e677c0645862d17a12c6d04b3019203c8e23fcc" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking git repo https://github.com/jakubDoka/Catalyst
[INFO] finished tweaking git repo https://github.com/jakubDoka/Catalyst
[INFO] tweaked toml for git repo https://github.com/jakubDoka/Catalyst written to /workspace/builds/worker-4-tc1/source/Cargo.toml
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" __CARGO_TEST_CHANNEL_OVERRIDE_DO_NOT_USE_THIS="nightly" "/workspace/cargo-home/bin/cargo" "+2e677c0645862d17a12c6d04b3019203c8e23fcc" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }`
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+2e677c0645862d17a12c6d04b3019203c8e23fcc" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded kqueue-sys v1.0.3
[INFO] [stderr]   Downloaded kqueue v1.0.7
[INFO] [stderr]   Downloaded cranelift-entity v0.90.1
[INFO] [stderr]   Downloaded cranelift-frontend v0.90.1
[INFO] [stderr]   Downloaded cranelift-isle v0.90.1
[INFO] [stderr]   Downloaded lsp-server v0.6.0
[INFO] [stderr]   Downloaded annotate-snippets v0.9.1
[INFO] [stderr]   Downloaded cranelift-codegen-shared v0.90.1
[INFO] [stderr]   Downloaded cranelift-egraph v0.90.1
[INFO] [stderr]   Downloaded rmp-serde v1.1.1
[INFO] [stderr]   Downloaded lsp-types v0.93.2
[INFO] [stderr]   Downloaded serde_yaml v0.9.16
[INFO] [stderr]   Downloaded logos v0.12.1
[INFO] [stderr]   Downloaded rmp v0.8.11
[INFO] [stderr]   Downloaded yansi-term v0.1.2
[INFO] [stderr]   Downloaded logos-derive v0.12.1
[INFO] [stderr]   Downloaded unsafe-libyaml v0.2.5
[INFO] [stderr]   Downloaded regalloc2 v0.4.2
[INFO] [stderr]   Downloaded cranelift-codegen v0.90.1
[INFO] [stderr]   Downloaded arc-swap v1.6.0
[INFO] [stderr]   Downloaded region v3.0.0
[INFO] [stderr]   Downloaded notify v5.0.0
[INFO] [stderr]   Downloaded fsevent-sys v4.1.0
[INFO] [stderr]   Downloaded cranelift-codegen-meta v0.90.1
[INFO] [stderr]   Downloaded cranelift-bforest v0.90.1
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:9042d5c95763f71f7b0904716b98ccadf9fc47b0f382ee962aaaed2ac70c9b8d" "/opt/rustwide/cargo-home/bin/cargo" "+2e677c0645862d17a12c6d04b3019203c8e23fcc" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] adfb52ff4695a56a0c03dfeaa25fec851c899bb5ce88d0db3288534a21e3ebc9
[INFO] running `Command { std: "docker" "start" "-a" "adfb52ff4695a56a0c03dfeaa25fec851c899bb5ce88d0db3288534a21e3ebc9", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "adfb52ff4695a56a0c03dfeaa25fec851c899bb5ce88d0db3288534a21e3ebc9", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "adfb52ff4695a56a0c03dfeaa25fec851c899bb5ce88d0db3288534a21e3ebc9", kill_on_drop: false }`
[INFO] [stdout] adfb52ff4695a56a0c03dfeaa25fec851c899bb5ce88d0db3288534a21e3ebc9
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:9042d5c95763f71f7b0904716b98ccadf9fc47b0f382ee962aaaed2ac70c9b8d" "/opt/rustwide/cargo-home/bin/cargo" "+2e677c0645862d17a12c6d04b3019203c8e23fcc" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] d89fd1bf987dbbd01fb3b17335037af3d0ed5c358571a4b334f3bddc0cdd7a8c
[INFO] running `Command { std: "docker" "start" "-a" "d89fd1bf987dbbd01fb3b17335037af3d0ed5c358571a4b334f3bddc0cdd7a8c", kill_on_drop: false }`
[INFO] [stderr]    Compiling proc-macro2 v1.0.49
[INFO] [stderr]    Compiling autocfg v1.1.0
[INFO] [stderr]    Compiling quote v1.0.23
[INFO] [stderr]    Compiling unicode-ident v1.0.6
[INFO] [stderr]    Compiling syn v1.0.107
[INFO] [stderr]    Compiling libc v0.2.139
[INFO] [stderr]    Compiling serde_derive v1.0.152
[INFO] [stderr]    Compiling serde v1.0.152
[INFO] [stderr]    Compiling version_check v0.9.4
[INFO] [stderr]     Checking once_cell v1.17.0
[INFO] [stderr]    Compiling parking_lot_core v0.9.5
[INFO] [stderr]     Checking arc-swap v1.6.0
[INFO] [stderr]    Compiling fnv v1.0.7
[INFO] [stderr]    Compiling regex-syntax v0.6.28
[INFO] [stderr]    Compiling beef v0.5.2
[INFO] [stderr]    Compiling log v0.4.17
[INFO] [stderr]    Compiling cranelift-isle v0.90.1
[INFO] [stderr]    Compiling cranelift-codegen-shared v0.90.1
[INFO] [stderr]    Compiling cranelift-codegen-meta v0.90.1
[INFO] [stderr]     Checking fxhash v0.2.1
[INFO] [stderr]    Compiling target-lexicon v0.12.5
[INFO] [stderr]    Compiling memchr v2.5.0
[INFO] [stderr]    Compiling paste v1.0.11
[INFO] [stderr]     Checking slice-group-by v0.3.0
[INFO] [stderr]     Checking stable_deref_trait v1.2.0
[INFO] [stderr]    Compiling crc32fast v1.3.2
[INFO] [stderr]     Checking arrayvec v0.7.2
[INFO] [stderr]     Checking bumpalo v3.11.1
[INFO] [stderr]     Checking yansi-term v0.1.2
[INFO] [stderr]     Checking cc v1.0.78
[INFO] [stderr]    Compiling ahash v0.7.6
[INFO] [stderr]     Checking annotate-snippets v0.9.1
[INFO] [stderr]     Checking windows-sys v0.42.0
[INFO] [stderr]    Compiling lock_api v0.4.9
[INFO] [stderr]    Compiling indexmap v1.9.2
[INFO] [stderr]    Compiling num-traits v0.2.15
[INFO] [stderr]     Checking cli v0.1.0 (/opt/rustwide/workdir/utils/cli)
[INFO] [stderr]    Compiling crossbeam-utils v0.8.14
[INFO] [stderr]     Checking ryu v1.0.12
[INFO] [stderr]     Checking itoa v1.0.5
[INFO] [stderr]    Compiling serde_json v1.0.91
[INFO] [stderr]    Compiling memoffset v0.7.1
[INFO] [stderr]     Checking tinyvec v1.6.0
[INFO] [stderr]    Compiling crossbeam-epoch v0.9.13
[INFO] [stderr]     Checking unicode-bidi v0.3.8
[INFO] [stderr]    Compiling crossbeam-queue v0.3.8
[INFO] [stderr]     Checking getrandom v0.2.8
[INFO] [stderr]     Checking region v3.0.0
[INFO] [stderr]     Checking percent-encoding v2.2.0
[INFO] [stderr]     Checking hashbrown v0.12.3
[INFO] [stderr]     Checking inotify-sys v0.1.5
[INFO] [stderr]     Checking same-file v1.0.6
[INFO] [stderr]     Checking inotify v0.9.6
[INFO] [stderr]     Checking walkdir v2.3.2
[INFO] [stderr]     Checking form_urlencoded v1.1.0
[INFO] [stderr]     Checking mio v0.8.5
[INFO] [stderr]     Checking filetime v0.2.19
[INFO] [stderr]     Checking unsafe-libyaml v0.2.5
[INFO] [stderr]     Checking tester v0.1.0 (/opt/rustwide/workdir/scripts/tester)
[INFO] [stderr]     Checking crossbeam-channel v0.5.6
[INFO] [stderr]     Checking crossbeam-deque v0.8.2
[INFO] [stderr]     Checking unicode-normalization v0.1.22
[INFO] [stderr]     Checking crossbeam v0.8.2
[INFO] [stderr]     Checking notify v5.0.0
[INFO] [stderr]     Checking rmp v0.8.11
[INFO] [stderr]     Checking idna v0.3.0
[INFO] [stderr]     Checking gimli v0.26.2
[INFO] [stderr]     Checking object v0.29.0
[INFO] [stderr]    Compiling cranelift-codegen v0.90.1
[INFO] [stderr]    Compiling logos-derive v0.12.1
[INFO] [stderr]    Compiling serde_repr v0.1.10
[INFO] [stderr]     Checking logos v0.12.1
[INFO] [stderr]     Checking state v0.1.0 (/opt/rustwide/workdir/scripts/state)
[INFO] [stderr]     Checking smallvec v1.10.0
[INFO] [stderr]     Checking cranelift-entity v0.90.1
[INFO] [stderr]     Checking rmp-serde v1.1.1
[INFO] [stderr]     Checking url v2.3.1
[INFO] [stderr]     Checking serde_yaml v0.9.16
[INFO] [stderr]     Checking regalloc2 v0.4.2
[INFO] [stderr]     Checking cranelift-bforest v0.90.1
[INFO] [stderr]     Checking cranelift-egraph v0.90.1
[INFO] [stderr]     Checking dashmap v5.4.0
[INFO] [stderr]     Checking bump-alloc v0.1.0 (/opt/rustwide/workdir/utils/bump-alloc)
[INFO] [stderr]     Checking lsp-server v0.6.0
[INFO] [stderr]     Checking lsp-types v0.93.2
[INFO] [stdout] warning: unused import: `slice`
[INFO] [stdout]  --> utils/bump-alloc/src/allocator.rs:7:5
[INFO] [stdout]   |
[INFO] [stdout] 7 |     slice,
[INFO] [stdout]   |     ^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `slice`
[INFO] [stdout]  --> utils/bump-alloc/src/allocator.rs:7:5
[INFO] [stdout]   |
[INFO] [stdout] 7 |     slice,
[INFO] [stdout]   |     ^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Checking yaml-to-json v0.1.0 (/opt/rustwide/workdir/scripts/yaml-to-json)
[INFO] [stdout] warning: 1 warning emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Checking storage v0.1.0 (/opt/rustwide/workdir/utils/storage)
[INFO] [stdout] warning: 1 warning emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Checking lexing-t v0.1.0 (/opt/rustwide/workdir/types/lexing-t)
[INFO] [stderr]     Checking graphs v0.1.0 (/opt/rustwide/workdir/utils/graphs)
[INFO] [stderr]     Checking lexing v0.1.0 (/opt/rustwide/workdir/stages/lexing)
[INFO] [stderr]     Checking packaging-t v0.1.0 (/opt/rustwide/workdir/types/packaging-t)
[INFO] [stderr]     Checking diags v0.1.0 (/opt/rustwide/workdir/types/diags)
[INFO] [stderr]     Checking typec-t v0.1.0 (/opt/rustwide/workdir/types/typec-t)
[INFO] [stderr]     Checking snippet-display v0.1.0 (/opt/rustwide/workdir/utils/snippet-display)
[INFO] [stderr]     Checking parsing-t v0.1.0 (/opt/rustwide/workdir/types/parsing-t)
[INFO] [stderr]     Checking parsing v0.1.0 (/opt/rustwide/workdir/stages/parsing)
[INFO] [stderr]     Checking mir-t v0.1.0 (/opt/rustwide/workdir/types/mir-t)
[INFO] [stderr]     Checking typec v0.1.0 (/opt/rustwide/workdir/stages/typec)
[INFO] [stdout] error[E0583]: file not found for module `state_gen`
[INFO] [stdout]   --> stages/typec/src/lib.rs:34:1
[INFO] [stdout]    |
[INFO] [stdout] 34 | mod state_gen;
[INFO] [stdout]    | ^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = help: to create the module `state_gen`, create file "stages/typec/src/state_gen.rs" or "stages/typec/src/state_gen/mod.rs"
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0583]: file not found for module `state_gen`
[INFO] [stdout]   --> stages/typec/src/lib.rs:34:1
[INFO] [stdout]    |
[INFO] [stdout] 34 | mod state_gen;
[INFO] [stdout]    | ^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = help: to create the module `state_gen`, create file "stages/typec/src/state_gen.rs" or "stages/typec/src/state_gen/mod.rs"
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `state_gen::TyChecker`
[INFO] [stdout]   --> stages/typec/src/lib.rs:42:9
[INFO] [stdout]    |
[INFO] [stdout] 42 | pub use state_gen::TyChecker;
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^^^ no `TyChecker` in `state_gen`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `state_gen::TyChecker`
[INFO] [stdout]   --> stages/typec/src/lib.rs:42:9
[INFO] [stdout]    |
[INFO] [stdout] 42 | pub use state_gen::TyChecker;
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^^^ no `TyChecker` in `state_gen`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Checking mir v0.1.0 (/opt/rustwide/workdir/stages/mir)
[INFO] [stdout] error[E0583]: file not found for module `state_gen`
[INFO] [stdout]   --> stages/mir/src/lib.rs:18:1
[INFO] [stdout]    |
[INFO] [stdout] 18 | mod state_gen;
[INFO] [stdout]    | ^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = help: to create the module `state_gen`, create file "stages/mir/src/state_gen.rs" or "stages/mir/src/state_gen/mod.rs"
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Checking packaging v0.1.0 (/opt/rustwide/workdir/stages/packaging)
[INFO] [stdout] error[E0583]: file not found for module `state_gen`
[INFO] [stdout]   --> stages/mir/src/lib.rs:18:1
[INFO] [stdout]    |
[INFO] [stdout] 18 | mod state_gen;
[INFO] [stdout]    | ^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = help: to create the module `state_gen`, create file "stages/mir/src/state_gen.rs" or "stages/mir/src/state_gen/mod.rs"
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `state_gen::MirChecker`
[INFO] [stdout]   --> stages/mir/src/lib.rs:24:5
[INFO] [stdout]    |
[INFO] [stdout] 24 |     state_gen::MirChecker,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^ no `MirChecker` in `state_gen`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0583]: file not found for module `state_gen`
[INFO] [stdout]   --> stages/packaging/src/lib.rs:11:1
[INFO] [stdout]    |
[INFO] [stdout] 11 | mod state_gen;
[INFO] [stdout]    | ^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = help: to create the module `state_gen`, create file "stages/packaging/src/state_gen.rs" or "stages/packaging/src/state_gen/mod.rs"
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0583]: file not found for module `state_gen`
[INFO] [stdout]   --> stages/packaging/src/lib.rs:11:1
[INFO] [stdout]    |
[INFO] [stdout] 11 | mod state_gen;
[INFO] [stdout]    | ^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = help: to create the module `state_gen`, create file "stages/packaging/src/state_gen.rs" or "stages/packaging/src/state_gen/mod.rs"
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `state_gen::MirChecker`
[INFO] [stdout]   --> stages/mir/src/lib.rs:24:5
[INFO] [stdout]    |
[INFO] [stdout] 24 |     state_gen::MirChecker,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^ no `MirChecker` in `state_gen`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `state_gen::PackageLoader`
[INFO] [stdout]   --> stages/packaging/src/lib.rs:13:61
[INFO] [stdout]    |
[INFO] [stdout] 13 | pub use {packages::ResourceLoaderCtx, scheduler::Scheduler, state_gen::PackageLoader};
[INFO] [stdout]    |                                                             ^^^^^^^^^^^^^^^^^^^^^^^^ no `PackageLoader` in `state_gen`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `state_gen::PackageLoader`
[INFO] [stdout]   --> stages/packaging/src/lib.rs:13:61
[INFO] [stdout]    |
[INFO] [stdout] 13 | pub use {packages::ResourceLoaderCtx, scheduler::Scheduler, state_gen::PackageLoader};
[INFO] [stdout]    |                                                             ^^^^^^^^^^^^^^^^^^^^^^^^ no `PackageLoader` in `state_gen`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: `else` clause of `let...else` does not diverge
[INFO] [stdout]    --> stages/packaging/src/packages.rs:293:64
[INFO] [stdout]     |
[INFO] [stdout] 293 |                   let Some(import_package) = import_package else {
[INFO] [stdout]     |  ________________________________________________________________^
[INFO] [stdout] 294 | |                 self.workspace.push(UnknownPackage {
[INFO] [stdout] 295 | |                     packages: self.resources.package_deps
[INFO] [stdout] 296 | |                         [self.resources.packages[package_id].deps]
[INFO] [stdout] ...   |
[INFO] [stdout] 302 | |                 })?;
[INFO] [stdout] 303 | |             };
[INFO] [stdout]     | |_____________^ expected `!`, found `()`
[INFO] [stdout]     |
[INFO] [stdout]     = note:   expected type `!`
[INFO] [stdout]             found unit type `()`
[INFO] [stdout]     = help: try adding a diverging expression, such as `return` or `panic!(..)`
[INFO] [stdout]     = help: ...or use `match` instead of `let...else`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: `else` clause of `let...else` does not diverge
[INFO] [stdout]    --> stages/packaging/src/packages.rs:397:38
[INFO] [stdout]     |
[INFO] [stdout] 397 |           let Some(moist) = moist else {
[INFO] [stdout]     |  ______________________________________^
[INFO] [stdout] 398 | |             self.workspace.push(NoMoisture {})?;
[INFO] [stdout] 399 | |         };
[INFO] [stdout]     | |_________^ expected `!`, found `()`
[INFO] [stdout]     |
[INFO] [stdout]     = note:   expected type `!`
[INFO] [stdout]             found unit type `()`
[INFO] [stdout]     = help: try adding a diverging expression, such as `return` or `panic!(..)`
[INFO] [stdout]     = help: ...or use `match` instead of `let...else`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: `else` clause of `let...else` does not diverge
[INFO] [stdout]    --> stages/packaging/src/packages.rs:293:64
[INFO] [stdout]     |
[INFO] [stdout] 293 |                   let Some(import_package) = import_package else {
[INFO] [stdout]     |  ________________________________________________________________^
[INFO] [stdout] 294 | |                 self.workspace.push(UnknownPackage {
[INFO] [stdout] 295 | |                     packages: self.resources.package_deps
[INFO] [stdout] 296 | |                         [self.resources.packages[package_id].deps]
[INFO] [stdout] ...   |
[INFO] [stdout] 302 | |                 })?;
[INFO] [stdout] 303 | |             };
[INFO] [stdout]     | |_____________^ expected `!`, found `()`
[INFO] [stdout]     |
[INFO] [stdout]     = note:   expected type `!`
[INFO] [stdout]             found unit type `()`
[INFO] [stdout]     = help: try adding a diverging expression, such as `return` or `panic!(..)`
[INFO] [stdout]     = help: ...or use `match` instead of `let...else`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: `else` clause of `let...else` does not diverge
[INFO] [stdout]    --> stages/packaging/src/packages.rs:758:60
[INFO] [stdout]     |
[INFO] [stdout] 758 |           let Some((major, minor, patch)) = opt_version else {
[INFO] [stdout]     |  ____________________________________________________________^
[INFO] [stdout] 759 | |             self.workspace.push(InvalidVersion {
[INFO] [stdout] 760 | |                 url: url.to_owned(),
[INFO] [stdout] 761 | |                 loc: SourceLoc { origin, span: version },
[INFO] [stdout] 762 | |             })?;
[INFO] [stdout] 763 | |         };
[INFO] [stdout]     | |_________^ expected `!`, found `()`
[INFO] [stdout]     |
[INFO] [stdout]     = note:   expected type `!`
[INFO] [stdout]             found unit type `()`
[INFO] [stdout]     = help: try adding a diverging expression, such as `return` or `panic!(..)`
[INFO] [stdout]     = help: ...or use `match` instead of `let...else`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: `else` clause of `let...else` does not diverge
[INFO] [stdout]    --> stages/packaging/src/packages.rs:397:38
[INFO] [stdout]     |
[INFO] [stdout] 397 |           let Some(moist) = moist else {
[INFO] [stdout]     |  ______________________________________^
[INFO] [stdout] 398 | |             self.workspace.push(NoMoisture {})?;
[INFO] [stdout] 399 | |         };
[INFO] [stdout]     | |_________^ expected `!`, found `()`
[INFO] [stdout]     |
[INFO] [stdout]     = note:   expected type `!`
[INFO] [stdout]             found unit type `()`
[INFO] [stdout]     = help: try adding a diverging expression, such as `return` or `panic!(..)`
[INFO] [stdout]     = help: ...or use `match` instead of `let...else`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 5 previous errors
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0308, E0432, E0583.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0308`.
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: `if` and `else` have incompatible types
[INFO] [stdout]    --> stages/typec/src/func_builder/control_flow.rs:293:13
[INFO] [stdout]     |
[INFO] [stdout] 284 |            } else if variant_ty != Ty::UNIT {
[INFO] [stdout]     |  _________________-
[INFO] [stdout] 285 | |/             self.workspace.push(MissingEnumCtorValue {
[INFO] [stdout] 286 | ||                 ty: self.typec.display_ty(variant_ty, self.interner),
[INFO] [stdout] 287 | ||                 loc: SourceLoc {
[INFO] [stdout] 288 | ||                     origin: self.source,
[INFO] [stdout] 289 | ||                     span: variant_name.span,
[INFO] [stdout] 290 | ||                 },
[INFO] [stdout] 291 | ||             })?;
[INFO] [stdout]     | ||________________- expected because of this
[INFO] [stdout] 292 | |          } else {
[INFO] [stdout] 293 | |              None
[INFO] [stdout]     | |              ^^^^ expected `()`, found enum `Option`
[INFO] [stdout] 294 | |          };
[INFO] [stdout]     | |__________- `if` and `else` have incompatible types
[INFO] [stdout]     |
[INFO] [stdout]     = note: expected unit type `()`
[INFO] [stdout]                     found enum `Option<_>`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: `if` and `else` have incompatible types
[INFO] [stdout]    --> stages/typec/src/func_builder/control_flow.rs:293:13
[INFO] [stdout]     |
[INFO] [stdout] 284 |            } else if variant_ty != Ty::UNIT {
[INFO] [stdout]     |  _________________-
[INFO] [stdout] 285 | |/             self.workspace.push(MissingEnumCtorValue {
[INFO] [stdout] 286 | ||                 ty: self.typec.display_ty(variant_ty, self.interner),
[INFO] [stdout] 287 | ||                 loc: SourceLoc {
[INFO] [stdout] 288 | ||                     origin: self.source,
[INFO] [stdout] 289 | ||                     span: variant_name.span,
[INFO] [stdout] 290 | ||                 },
[INFO] [stdout] 291 | ||             })?;
[INFO] [stdout]     | ||________________- expected because of this
[INFO] [stdout] 292 | |          } else {
[INFO] [stdout] 293 | |              None
[INFO] [stdout]     | |              ^^^^ expected `()`, found enum `Option`
[INFO] [stdout] 294 | |          };
[INFO] [stdout]     | |__________- `if` and `else` have incompatible types
[INFO] [stdout]     |
[INFO] [stdout]     = note: expected unit type `()`
[INFO] [stdout]                     found enum `Option<_>`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `packaging` due to 6 previous errors
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stdout] error[E0308]: `else` clause of `let...else` does not diverge
[INFO] [stdout]    --> stages/packaging/src/packages.rs:758:60
[INFO] [stdout]     |
[INFO] [stdout] 758 |           let Some((major, minor, patch)) = opt_version else {
[INFO] [stdout]     |  ____________________________________________________________^
[INFO] [stdout] 759 | |             self.workspace.push(InvalidVersion {
[INFO] [stdout] 760 | |                 url: url.to_owned(),
[INFO] [stdout] 761 | |                 loc: SourceLoc { origin, span: version },
[INFO] [stdout] 762 | |             })?;
[INFO] [stdout] 763 | |         };
[INFO] [stdout]     | |_________^ expected `!`, found `()`
[INFO] [stdout]     |
[INFO] [stdout]     = note:   expected type `!`
[INFO] [stdout]             found unit type `()`
[INFO] [stdout]     = help: try adding a diverging expression, such as `return` or `panic!(..)`
[INFO] [stdout]     = help: ...or use `match` instead of `let...else`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: `else` clause of `let...else` does not diverge
[INFO] [stdout]   --> stages/typec/src/func_builder/data.rs:32:48
[INFO] [stdout]    |
[INFO] [stdout] 32 |               let Some(ty) = inference.ty() else {
[INFO] [stdout]    |  ________________________________________________^
[INFO] [stdout] 33 | |                 self.workspace.push(CannotInferExpression {
[INFO] [stdout] 34 | |                     help: "add struct path before the slash",
[INFO] [stdout] 35 | |                     loc: SourceLoc { origin: self.source, span: ctor.span() },
[INFO] [stdout] 36 | |                 })?;
[INFO] [stdout] 37 | |             };
[INFO] [stdout]    | |_____________^ expected `!`, found `()`
[INFO] [stdout]    |
[INFO] [stdout]    = note:   expected type `!`
[INFO] [stdout]            found unit type `()`
[INFO] [stdout]    = help: try adding a diverging expression, such as `return` or `panic!(..)`
[INFO] [stdout]    = help: ...or use `match` instead of `let...else`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: `else` clause of `let...else` does not diverge
[INFO] [stdout]   --> stages/typec/src/func_builder/data.rs:32:48
[INFO] [stdout]    |
[INFO] [stdout] 32 |               let Some(ty) = inference.ty() else {
[INFO] [stdout]    |  ________________________________________________^
[INFO] [stdout] 33 | |                 self.workspace.push(CannotInferExpression {
[INFO] [stdout] 34 | |                     help: "add struct path before the slash",
[INFO] [stdout] 35 | |                     loc: SourceLoc { origin: self.source, span: ctor.span() },
[INFO] [stdout] 36 | |                 })?;
[INFO] [stdout] 37 | |             };
[INFO] [stdout]    | |_____________^ expected `!`, found `()`
[INFO] [stdout]    |
[INFO] [stdout]    = note:   expected type `!`
[INFO] [stdout]            found unit type `()`
[INFO] [stdout]    = help: try adding a diverging expression, such as `return` or `panic!(..)`
[INFO] [stdout]    = help: ...or use `match` instead of `let...else`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: `else` clause of `let...else` does not diverge
[INFO] [stdout]   --> stages/typec/src/func_builder/data.rs:42:45
[INFO] [stdout]    |
[INFO] [stdout] 42 |           let Ty::Struct(struct_ty) = ty else {
[INFO] [stdout]    |  _____________________________________________^
[INFO] [stdout] 43 | |             self.workspace.push(UnexpectedType {
[INFO] [stdout] 44 | |                 expected: "struct",
[INFO] [stdout] 45 | |                 found: self.typec.display_ty(ty, self.interner),
[INFO] [stdout] 46 | |                 loc: SourceLoc { origin: self.source, span: ctor.span() },
[INFO] [stdout] 47 | |             })?;
[INFO] [stdout] 48 | |         };
[INFO] [stdout]    | |_________^ expected `!`, found `()`
[INFO] [stdout]    |
[INFO] [stdout]    = note:   expected type `!`
[INFO] [stdout]            found unit type `()`
[INFO] [stdout]    = help: try adding a diverging expression, such as `return` or `panic!(..)`
[INFO] [stdout]    = help: ...or use `match` instead of `let...else`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: `else` clause of `let...else` does not diverge
[INFO] [stdout]   --> stages/typec/src/func_builder/data.rs:42:45
[INFO] [stdout]    |
[INFO] [stdout] 42 |           let Ty::Struct(struct_ty) = ty else {
[INFO] [stdout]    |  _____________________________________________^
[INFO] [stdout] 43 | |             self.workspace.push(UnexpectedType {
[INFO] [stdout] 44 | |                 expected: "struct",
[INFO] [stdout] 45 | |                 found: self.typec.display_ty(ty, self.interner),
[INFO] [stdout] 46 | |                 loc: SourceLoc { origin: self.source, span: ctor.span() },
[INFO] [stdout] 47 | |             })?;
[INFO] [stdout] 48 | |         };
[INFO] [stdout]    | |_________^ expected `!`, found `()`
[INFO] [stdout]    |
[INFO] [stdout]    = note:   expected type `!`
[INFO] [stdout]            found unit type `()`
[INFO] [stdout]    = help: try adding a diverging expression, such as `return` or `panic!(..)`
[INFO] [stdout]    = help: ...or use `match` instead of `let...else`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 5 previous errors
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0308, E0432, E0583.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0308`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `packaging` due to 6 previous errors
[INFO] [stdout] error[E0308]: `else` clause of `let...else` does not diverge
[INFO] [stdout]    --> stages/typec/src/func_builder/data.rs:267:57
[INFO] [stdout]     |
[INFO] [stdout] 267 |           let Ty::Pointer(ptr, mutability) = expr.ty else {
[INFO] [stdout]     |  _________________________________________________________^
[INFO] [stdout] 268 | |             self.workspace.push(NonPointerDereference {
[INFO] [stdout] 269 | |                 ty: self.typec.display_ty(expr.ty, self.interner),
[INFO] [stdout] 270 | |                 loc: SourceLoc { origin: self.source, span: expr.span },
[INFO] [stdout] 271 | |             })?;
[INFO] [stdout] 272 | |         };
[INFO] [stdout]     | |_________^ expected `!`, found `()`
[INFO] [stdout]     |
[INFO] [stdout]     = note:   expected type `!`
[INFO] [stdout]             found unit type `()`
[INFO] [stdout]     = help: try adding a diverging expression, such as `return` or `panic!(..)`
[INFO] [stdout]     = help: ...or use `match` instead of `let...else`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: `else` clause of `let...else` does not diverge
[INFO] [stdout]    --> stages/typec/src/func_builder/data.rs:267:57
[INFO] [stdout]     |
[INFO] [stdout] 267 |           let Ty::Pointer(ptr, mutability) = expr.ty else {
[INFO] [stdout]     |  _________________________________________________________^
[INFO] [stdout] 268 | |             self.workspace.push(NonPointerDereference {
[INFO] [stdout] 269 | |                 ty: self.typec.display_ty(expr.ty, self.interner),
[INFO] [stdout] 270 | |                 loc: SourceLoc { origin: self.source, span: expr.span },
[INFO] [stdout] 271 | |             })?;
[INFO] [stdout] 272 | |         };
[INFO] [stdout]     | |_________^ expected `!`, found `()`
[INFO] [stdout]     |
[INFO] [stdout]     = note:   expected type `!`
[INFO] [stdout]             found unit type `()`
[INFO] [stdout]     = help: try adding a diverging expression, such as `return` or `panic!(..)`
[INFO] [stdout]     = help: ...or use `match` instead of `let...else`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: `else` clause of `let...else` does not diverge
[INFO] [stdout]   --> stages/typec/src/func_builder/lookup.rs:54:54
[INFO] [stdout]    |
[INFO] [stdout] 54 |               let Some(expected) = inference.ty() else {
[INFO] [stdout]    |  ______________________________________________________^
[INFO] [stdout] 55 | |                 self.workspace.push(CannotInferExpression {
[INFO] [stdout] 56 | |                     help: "add an enum type-name before the leading '\\'",
[INFO] [stdout] 57 | |                     loc: SourceLoc { origin: self.source, span: path.span() },
[INFO] [stdout] 58 | |                 })?;
[INFO] [stdout] 59 | |             };
[INFO] [stdout]    | |_____________^ expected `!`, found `()`
[INFO] [stdout]    |
[INFO] [stdout]    = note:   expected type `!`
[INFO] [stdout]            found unit type `()`
[INFO] [stdout]    = help: try adding a diverging expression, such as `return` or `panic!(..)`
[INFO] [stdout]    = help: ...or use `match` instead of `let...else`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: `else` clause of `let...else` does not diverge
[INFO] [stdout]   --> stages/typec/src/func_builder/lookup.rs:54:54
[INFO] [stdout]    |
[INFO] [stdout] 54 |               let Some(expected) = inference.ty() else {
[INFO] [stdout]    |  ______________________________________________________^
[INFO] [stdout] 55 | |                 self.workspace.push(CannotInferExpression {
[INFO] [stdout] 56 | |                     help: "add an enum type-name before the leading '\\'",
[INFO] [stdout] 57 | |                     loc: SourceLoc { origin: self.source, span: path.span() },
[INFO] [stdout] 58 | |                 })?;
[INFO] [stdout] 59 | |             };
[INFO] [stdout]    | |_____________^ expected `!`, found `()`
[INFO] [stdout]    |
[INFO] [stdout]    = note:   expected type `!`
[INFO] [stdout]            found unit type `()`
[INFO] [stdout]    = help: try adding a diverging expression, such as `return` or `panic!(..)`
[INFO] [stdout]    = help: ...or use `match` instead of `let...else`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: `else` clause of `let...else` does not diverge
[INFO] [stdout]   --> stages/typec/src/func_builder/lookup.rs:61:68
[INFO] [stdout]    |
[INFO] [stdout] 61 |               let Ty::Enum(enum_ty) = expected.base(self.typec) else {
[INFO] [stdout]    |  ____________________________________________________________________^
[INFO] [stdout] 62 | |                 self.workspace.push(UnexpectedInferenceType {
[INFO] [stdout] 63 | |                     expected: "enum",
[INFO] [stdout] 64 | |                     found: self.typec.display_ty(expected, self.interner),
[INFO] [stdout] 65 | |                     loc: SourceLoc { origin: self.source, span: path.span() },
[INFO] [stdout] 66 | |                 })?;
[INFO] [stdout] 67 | |             };
[INFO] [stdout]    | |_____________^ expected `!`, found `()`
[INFO] [stdout]    |
[INFO] [stdout]    = note:   expected type `!`
[INFO] [stdout]            found unit type `()`
[INFO] [stdout]    = help: try adding a diverging expression, such as `return` or `panic!(..)`
[INFO] [stdout]    = help: ...or use `match` instead of `let...else`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: `else` clause of `let...else` does not diverge
[INFO] [stdout]   --> stages/typec/src/func_builder/lookup.rs:61:68
[INFO] [stdout]    |
[INFO] [stdout] 61 |               let Ty::Enum(enum_ty) = expected.base(self.typec) else {
[INFO] [stdout]    |  ____________________________________________________________________^
[INFO] [stdout] 62 | |                 self.workspace.push(UnexpectedInferenceType {
[INFO] [stdout] 63 | |                     expected: "enum",
[INFO] [stdout] 64 | |                     found: self.typec.display_ty(expected, self.interner),
[INFO] [stdout] 65 | |                     loc: SourceLoc { origin: self.source, span: path.span() },
[INFO] [stdout] 66 | |                 })?;
[INFO] [stdout] 67 | |             };
[INFO] [stdout]    | |_____________^ expected `!`, found `()`
[INFO] [stdout]    |
[INFO] [stdout]    = note:   expected type `!`
[INFO] [stdout]            found unit type `()`
[INFO] [stdout]    = help: try adding a diverging expression, such as `return` or `panic!(..)`
[INFO] [stdout]    = help: ...or use `match` instead of `let...else`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: `else` clause of `let...else` does not diverge
[INFO] [stdout]   --> stages/typec/src/func_builder/lookup.rs:69:62
[INFO] [stdout]    |
[INFO] [stdout] 69 |               let PathSegmentAst::Name(name) = path.start else {
[INFO] [stdout]    |  ______________________________________________________________^
[INFO] [stdout] 70 | |                 self.workspace.push(InvalidPathSegment {
[INFO] [stdout] 71 | |                     loc: SourceLoc { origin: self.source, span: path.start.span() },
[INFO] [stdout] 72 | |                     message: "expected an ident (enum-variant name)",
[INFO] [stdout] 73 | |                 })?;
[INFO] [stdout] 74 | |             };
[INFO] [stdout]    | |_____________^ expected `!`, found `()`
[INFO] [stdout]    |
[INFO] [stdout]    = note:   expected type `!`
[INFO] [stdout]            found unit type `()`
[INFO] [stdout]    = help: try adding a diverging expression, such as `return` or `panic!(..)`
[INFO] [stdout]    = help: ...or use `match` instead of `let...else`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: `else` clause of `let...else` does not diverge
[INFO] [stdout]   --> stages/typec/src/func_builder/lookup.rs:69:62
[INFO] [stdout]    |
[INFO] [stdout] 69 |               let PathSegmentAst::Name(name) = path.start else {
[INFO] [stdout]    |  ______________________________________________________________^
[INFO] [stdout] 70 | |                 self.workspace.push(InvalidPathSegment {
[INFO] [stdout] 71 | |                     loc: SourceLoc { origin: self.source, span: path.start.span() },
[INFO] [stdout] 72 | |                     message: "expected an ident (enum-variant name)",
[INFO] [stdout] 73 | |                 })?;
[INFO] [stdout] 74 | |             };
[INFO] [stdout]    | |_____________^ expected `!`, found `()`
[INFO] [stdout]    |
[INFO] [stdout]    = note:   expected type `!`
[INFO] [stdout]            found unit type `()`
[INFO] [stdout]    = help: try adding a diverging expression, such as `return` or `panic!(..)`
[INFO] [stdout]    = help: ...or use `match` instead of `let...else`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: `else` clause of `let...else` does not diverge
[INFO] [stdout]   --> stages/typec/src/func_builder/lookup.rs:83:58
[INFO] [stdout]    |
[INFO] [stdout] 83 |           let PathSegmentAst::Name(name) = path.start else {
[INFO] [stdout]    |  __________________________________________________________^
[INFO] [stdout] 84 | |             self.workspace.push(InvalidPathSegment {
[INFO] [stdout] 85 | |                 loc: SourceLoc { origin: self.source, span: path.start.span() },
[INFO] [stdout] 86 | |                 message: "expected an ident (enum or module)",
[INFO] [stdout] 87 | |             })?;
[INFO] [stdout] 88 | |         };
[INFO] [stdout]    | |_________^ expected `!`, found `()`
[INFO] [stdout]    |
[INFO] [stdout]    = note:   expected type `!`
[INFO] [stdout]            found unit type `()`
[INFO] [stdout]    = help: try adding a diverging expression, such as `return` or `panic!(..)`
[INFO] [stdout]    = help: ...or use `match` instead of `let...else`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: `else` clause of `let...else` does not diverge
[INFO] [stdout]   --> stages/typec/src/func_builder/lookup.rs:83:58
[INFO] [stdout]    |
[INFO] [stdout] 83 |           let PathSegmentAst::Name(name) = path.start else {
[INFO] [stdout]    |  __________________________________________________________^
[INFO] [stdout] 84 | |             self.workspace.push(InvalidPathSegment {
[INFO] [stdout] 85 | |                 loc: SourceLoc { origin: self.source, span: path.start.span() },
[INFO] [stdout] 86 | |                 message: "expected an ident (enum or module)",
[INFO] [stdout] 87 | |             })?;
[INFO] [stdout] 88 | |         };
[INFO] [stdout]    | |_________^ expected `!`, found `()`
[INFO] [stdout]    |
[INFO] [stdout]    = note:   expected type `!`
[INFO] [stdout]            found unit type `()`
[INFO] [stdout]    = help: try adding a diverging expression, such as `return` or `panic!(..)`
[INFO] [stdout]    = help: ...or use `match` instead of `let...else`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: `else` clause of `let...else` does not diverge
[INFO] [stdout]    --> stages/typec/src/func_builder/lookup.rs:98:85
[INFO] [stdout]     |
[INFO] [stdout] 98  |           let &[PathSegmentAst::Name(r#enum), ref segments @ ..] = path.segments else {
[INFO] [stdout]     |  _____________________________________________________________________________________^
[INFO] [stdout] 99  | |             self.workspace.push(InvalidPathSegment {
[INFO] [stdout] 100 | |                 loc: SourceLoc { origin: self.source, span: Self::segment_slice_span_low(name.span, path.segments) },
[INFO] [stdout] 101 | |                 message: "expected an enum name",
[INFO] [stdout] 102 | |             })?;
[INFO] [stdout] 103 | |         };
[INFO] [stdout]     | |_________^ expected `!`, found `()`
[INFO] [stdout]     |
[INFO] [stdout]     = note:   expected type `!`
[INFO] [stdout]             found unit type `()`
[INFO] [stdout]     = help: try adding a diverging expression, such as `return` or `panic!(..)`
[INFO] [stdout]     = help: ...or use `match` instead of `let...else`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: `else` clause of `let...else` does not diverge
[INFO] [stdout]    --> stages/typec/src/func_builder/lookup.rs:98:85
[INFO] [stdout]     |
[INFO] [stdout] 98  |           let &[PathSegmentAst::Name(r#enum), ref segments @ ..] = path.segments else {
[INFO] [stdout]     |  _____________________________________________________________________________________^
[INFO] [stdout] 99  | |             self.workspace.push(InvalidPathSegment {
[INFO] [stdout] 100 | |                 loc: SourceLoc { origin: self.source, span: Self::segment_slice_span_low(name.span, path.segments) },
[INFO] [stdout] 101 | |                 message: "expected an enum name",
[INFO] [stdout] 102 | |             })?;
[INFO] [stdout] 103 | |         };
[INFO] [stdout]     | |_________^ expected `!`, found `()`
[INFO] [stdout]     |
[INFO] [stdout]     = note:   expected type `!`
[INFO] [stdout]             found unit type `()`
[INFO] [stdout]     = help: try adding a diverging expression, such as `return` or `panic!(..)`
[INFO] [stdout]     = help: ...or use `match` instead of `let...else`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: `else` clause of `let...else` does not diverge
[INFO] [stdout]    --> stages/typec/src/func_builder/lookup.rs:120:84
[INFO] [stdout]     |
[INFO] [stdout] 120 |           let (Ty::Struct(struct_ty), params) = ty.base_with_params(self.typec) else {
[INFO] [stdout]     |  ____________________________________________________________________________________^
[INFO] [stdout] 121 | |             self.workspace.push(FieldAccessOnNonStruct {
[INFO] [stdout] 122 | |                 found: self.typec.display_ty(ty, self.interner),
[INFO] [stdout] 123 | |                 loc: SourceLoc { origin: self.source, span: path.span() },
[INFO] [stdout] 124 | |             })?;
[INFO] [stdout] 125 | |         };
[INFO] [stdout]     | |_________^ expected `!`, found `()`
[INFO] [stdout]     |
[INFO] [stdout]     = note:   expected type `!`
[INFO] [stdout]             found unit type `()`
[INFO] [stdout]     = help: try adding a diverging expression, such as `return` or `panic!(..)`
[INFO] [stdout]     = help: ...or use `match` instead of `let...else`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: `else` clause of `let...else` does not diverge
[INFO] [stdout]    --> stages/typec/src/func_builder/lookup.rs:129:53
[INFO] [stdout]     |
[INFO] [stdout] 129 |           let PathSegmentAst::Name(name) = start else {
[INFO] [stdout]     |  _____________________________________________________^
[INFO] [stdout] 130 | |             self.workspace.push(InvalidPathSegment {
[INFO] [stdout] 131 | |                 loc: SourceLoc { origin: self.source, span: start.span() },
[INFO] [stdout] 132 | |                 message: "expected a field name",
[INFO] [stdout] 133 | |             })?;
[INFO] [stdout] 134 | |         };
[INFO] [stdout]     | |_________^ expected `!`, found `()`
[INFO] [stdout]     |
[INFO] [stdout]     = note:   expected type `!`
[INFO] [stdout]             found unit type `()`
[INFO] [stdout]     = help: try adding a diverging expression, such as `return` or `panic!(..)`
[INFO] [stdout]     = help: ...or use `match` instead of `let...else`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: `else` clause of `let...else` does not diverge
[INFO] [stdout]    --> stages/typec/src/func_builder/lookup.rs:120:84
[INFO] [stdout]     |
[INFO] [stdout] 120 |           let (Ty::Struct(struct_ty), params) = ty.base_with_params(self.typec) else {
[INFO] [stdout]     |  ____________________________________________________________________________________^
[INFO] [stdout] 121 | |             self.workspace.push(FieldAccessOnNonStruct {
[INFO] [stdout] 122 | |                 found: self.typec.display_ty(ty, self.interner),
[INFO] [stdout] 123 | |                 loc: SourceLoc { origin: self.source, span: path.span() },
[INFO] [stdout] 124 | |             })?;
[INFO] [stdout] 125 | |         };
[INFO] [stdout]     | |_________^ expected `!`, found `()`
[INFO] [stdout]     |
[INFO] [stdout]     = note:   expected type `!`
[INFO] [stdout]             found unit type `()`
[INFO] [stdout]     = help: try adding a diverging expression, such as `return` or `panic!(..)`
[INFO] [stdout]     = help: ...or use `match` instead of `let...else`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: `else` clause of `let...else` does not diverge
[INFO] [stdout]    --> stages/typec/src/func_builder/lookup.rs:129:53
[INFO] [stdout]     |
[INFO] [stdout] 129 |           let PathSegmentAst::Name(name) = start else {
[INFO] [stdout]     |  _____________________________________________________^
[INFO] [stdout] 130 | |             self.workspace.push(InvalidPathSegment {
[INFO] [stdout] 131 | |                 loc: SourceLoc { origin: self.source, span: start.span() },
[INFO] [stdout] 132 | |                 message: "expected a field name",
[INFO] [stdout] 133 | |             })?;
[INFO] [stdout] 134 | |         };
[INFO] [stdout]     | |_________^ expected `!`, found `()`
[INFO] [stdout]     |
[INFO] [stdout]     = note:   expected type `!`
[INFO] [stdout]             found unit type `()`
[INFO] [stdout]     = help: try adding a diverging expression, such as `return` or `panic!(..)`
[INFO] [stdout]     = help: ...or use `match` instead of `let...else`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: `else` clause of `let...else` does not diverge
[INFO] [stdout]    --> stages/typec/src/func_builder/lookup.rs:156:54
[INFO] [stdout]     |
[INFO] [stdout] 156 |           let PathSegmentAst::Name(start) = start else {
[INFO] [stdout]     |  ______________________________________________________^
[INFO] [stdout] 157 | |             self.workspace.push(InvalidPathSegment {
[INFO] [stdout] 158 | |                 loc: SourceLoc { origin: self.source, span: start.span() },
[INFO] [stdout] 159 | |                 message: "expected ident (function, module or type)",
[INFO] [stdout] 160 | |             })?;
[INFO] [stdout] 161 | |         };
[INFO] [stdout]     | |_________^ expected `!`, found `()`
[INFO] [stdout]     |
[INFO] [stdout]     = note:   expected type `!`
[INFO] [stdout]             found unit type `()`
[INFO] [stdout]     = help: try adding a diverging expression, such as `return` or `panic!(..)`
[INFO] [stdout]     = help: ...or use `match` instead of `let...else`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: `else` clause of `let...else` does not diverge
[INFO] [stdout]    --> stages/typec/src/func_builder/lookup.rs:156:54
[INFO] [stdout]     |
[INFO] [stdout] 156 |           let PathSegmentAst::Name(start) = start else {
[INFO] [stdout]     |  ______________________________________________________^
[INFO] [stdout] 157 | |             self.workspace.push(InvalidPathSegment {
[INFO] [stdout] 158 | |                 loc: SourceLoc { origin: self.source, span: start.span() },
[INFO] [stdout] 159 | |                 message: "expected ident (function, module or type)",
[INFO] [stdout] 160 | |             })?;
[INFO] [stdout] 161 | |         };
[INFO] [stdout]     | |_________^ expected `!`, found `()`
[INFO] [stdout]     |
[INFO] [stdout]     = note:   expected type `!`
[INFO] [stdout]             found unit type `()`
[INFO] [stdout]     = help: try adding a diverging expression, such as `return` or `panic!(..)`
[INFO] [stdout]     = help: ...or use `match` instead of `let...else`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: `else` clause of `let...else` does not diverge
[INFO] [stdout]    --> stages/typec/src/func_builder/lookup.rs:188:65
[INFO] [stdout]     |
[INFO] [stdout] 188 |                   let &[start, ref segments @ ..] = segments else {
[INFO] [stdout]     |  _________________________________________________________________^
[INFO] [stdout] 189 | |                     self.workspace.push(InvalidPathSegment {
[INFO] [stdout] 190 | |                         loc: SourceLoc {
[INFO] [stdout] 191 | |                             origin: self.source,
[INFO] [stdout] ...   |
[INFO] [stdout] 195 | |                     })?;
[INFO] [stdout] 196 | |                 };
[INFO] [stdout]     | |_________________^ expected `!`, found `()`
[INFO] [stdout]     |
[INFO] [stdout]     = note:   expected type `!`
[INFO] [stdout]             found unit type `()`
[INFO] [stdout]     = help: try adding a diverging expression, such as `return` or `panic!(..)`
[INFO] [stdout]     = help: ...or use `match` instead of `let...else`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: `else` clause of `let...else` does not diverge
[INFO] [stdout]    --> stages/typec/src/func_builder/lookup.rs:188:65
[INFO] [stdout]     |
[INFO] [stdout] 188 |                   let &[start, ref segments @ ..] = segments else {
[INFO] [stdout]     |  _________________________________________________________________^
[INFO] [stdout] 189 | |                     self.workspace.push(InvalidPathSegment {
[INFO] [stdout] 190 | |                         loc: SourceLoc {
[INFO] [stdout] 191 | |                             origin: self.source,
[INFO] [stdout] ...   |
[INFO] [stdout] 195 | |                     })?;
[INFO] [stdout] 196 | |                 };
[INFO] [stdout]     | |_________________^ expected `!`, found `()`
[INFO] [stdout]     |
[INFO] [stdout]     = note:   expected type `!`
[INFO] [stdout]             found unit type `()`
[INFO] [stdout]     = help: try adding a diverging expression, such as `return` or `panic!(..)`
[INFO] [stdout]     = help: ...or use `match` instead of `let...else`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: `else` clause of `let...else` does not diverge
[INFO] [stdout]    --> stages/typec/src/func_builder/lookup.rs:211:86
[INFO] [stdout]     |
[INFO] [stdout] 211 |           let &[PathSegmentAst::Name(func_or_type), ref segments @ ..] = segments else {
[INFO] [stdout]     |  ______________________________________________________________________________________^
[INFO] [stdout] 212 | |             self.workspace.push(InvalidPathSegment {
[INFO] [stdout] 213 | |                 loc: SourceLoc {
[INFO] [stdout] 214 | |                     origin: self.source,
[INFO] [stdout] ...   |
[INFO] [stdout] 218 | |             })?;
[INFO] [stdout] 219 | |         };
[INFO] [stdout]     | |_________^ expected `!`, found `()`
[INFO] [stdout]     |
[INFO] [stdout]     = note:   expected type `!`
[INFO] [stdout]             found unit type `()`
[INFO] [stdout]     = help: try adding a diverging expression, such as `return` or `panic!(..)`
[INFO] [stdout]     = help: ...or use `match` instead of `let...else`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: `else` clause of `let...else` does not diverge
[INFO] [stdout]    --> stages/typec/src/func_builder/lookup.rs:211:86
[INFO] [stdout]     |
[INFO] [stdout] 211 |           let &[PathSegmentAst::Name(func_or_type), ref segments @ ..] = segments else {
[INFO] [stdout]     |  ______________________________________________________________________________________^
[INFO] [stdout] 212 | |             self.workspace.push(InvalidPathSegment {
[INFO] [stdout] 213 | |                 loc: SourceLoc {
[INFO] [stdout] 214 | |                     origin: self.source,
[INFO] [stdout] ...   |
[INFO] [stdout] 218 | |             })?;
[INFO] [stdout] 219 | |         };
[INFO] [stdout]     | |_________^ expected `!`, found `()`
[INFO] [stdout]     |
[INFO] [stdout]     = note:   expected type `!`
[INFO] [stdout]             found unit type `()`
[INFO] [stdout]     = help: try adding a diverging expression, such as `return` or `panic!(..)`
[INFO] [stdout]     = help: ...or use `match` instead of `let...else`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: `else` clause of `let...else` does not diverge
[INFO] [stdout]    --> stages/typec/src/func_builder/lookup.rs:247:57
[INFO] [stdout]     |
[INFO] [stdout] 247 |           let &[start, ref segments @ ..] = segments else {
[INFO] [stdout]     |  _________________________________________________________^
[INFO] [stdout] 248 | |             self.workspace.push(InvalidPathSegment {
[INFO] [stdout] 249 | |                 loc: SourceLoc {
[INFO] [stdout] 250 | |                     origin: self.source,
[INFO] [stdout] ...   |
[INFO] [stdout] 254 | |             })?;
[INFO] [stdout] 255 | |         };
[INFO] [stdout]     | |_________^ expected `!`, found `()`
[INFO] [stdout]     |
[INFO] [stdout]     = note:   expected type `!`
[INFO] [stdout]             found unit type `()`
[INFO] [stdout]     = help: try adding a diverging expression, such as `return` or `panic!(..)`
[INFO] [stdout]     = help: ...or use `match` instead of `let...else`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: `else` clause of `let...else` does not diverge
[INFO] [stdout]    --> stages/typec/src/func_builder/lookup.rs:285:54
[INFO] [stdout]     |
[INFO] [stdout] 285 |           let PathSegmentAst::Name(ident) = start else {
[INFO] [stdout]     |  ______________________________________________________^
[INFO] [stdout] 286 | |             self.workspace.push(InvalidPathSegment {
[INFO] [stdout] 287 | |                 loc: SourceLoc { origin: self.source, span: start.span() },
[INFO] [stdout] 288 | |                 message: "expected ident (function or spec)",
[INFO] [stdout] 289 | |             })?;
[INFO] [stdout] 290 | |         };
[INFO] [stdout]     | |_________^ expected `!`, found `()`
[INFO] [stdout]     |
[INFO] [stdout]     = note:   expected type `!`
[INFO] [stdout]             found unit type `()`
[INFO] [stdout]     = help: try adding a diverging expression, such as `return` or `panic!(..)`
[INFO] [stdout]     = help: ...or use `match` instead of `let...else`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: `else` clause of `let...else` does not diverge
[INFO] [stdout]    --> stages/typec/src/func_builder/lookup.rs:247:57
[INFO] [stdout]     |
[INFO] [stdout] 247 |           let &[start, ref segments @ ..] = segments else {
[INFO] [stdout]     |  _________________________________________________________^
[INFO] [stdout] 248 | |             self.workspace.push(InvalidPathSegment {
[INFO] [stdout] 249 | |                 loc: SourceLoc {
[INFO] [stdout] 250 | |                     origin: self.source,
[INFO] [stdout] ...   |
[INFO] [stdout] 254 | |             })?;
[INFO] [stdout] 255 | |         };
[INFO] [stdout]     | |_________^ expected `!`, found `()`
[INFO] [stdout]     |
[INFO] [stdout]     = note:   expected type `!`
[INFO] [stdout]             found unit type `()`
[INFO] [stdout]     = help: try adding a diverging expression, such as `return` or `panic!(..)`
[INFO] [stdout]     = help: ...or use `match` instead of `let...else`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: `else` clause of `let...else` does not diverge
[INFO] [stdout]    --> stages/typec/src/func_builder/lookup.rs:295:96
[INFO] [stdout]     |
[INFO] [stdout] 295 |                   let &[PathSegmentAst::Name(spec_or_method), ref segments @ ..] = segments else {
[INFO] [stdout]     |  ________________________________________________________________________________________________^
[INFO] [stdout] 296 | |                     self.workspace.push(InvalidPathSegment {
[INFO] [stdout] 297 | |                         loc: SourceLoc {
[INFO] [stdout] 298 | |                             origin: self.source,
[INFO] [stdout] ...   |
[INFO] [stdout] 302 | |                     })?;
[INFO] [stdout] 303 | |                 };
[INFO] [stdout]     | |_________________^ expected `!`, found `()`
[INFO] [stdout]     |
[INFO] [stdout]     = note:   expected type `!`
[INFO] [stdout]             found unit type `()`
[INFO] [stdout]     = help: try adding a diverging expression, such as `return` or `panic!(..)`
[INFO] [stdout]     = help: ...or use `match` instead of `let...else`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: `else` clause of `let...else` does not diverge
[INFO] [stdout]    --> stages/typec/src/func_builder/lookup.rs:285:54
[INFO] [stdout]     |
[INFO] [stdout] 285 |           let PathSegmentAst::Name(ident) = start else {
[INFO] [stdout]     |  ______________________________________________________^
[INFO] [stdout] 286 | |             self.workspace.push(InvalidPathSegment {
[INFO] [stdout] 287 | |                 loc: SourceLoc { origin: self.source, span: start.span() },
[INFO] [stdout] 288 | |                 message: "expected ident (function or spec)",
[INFO] [stdout] 289 | |             })?;
[INFO] [stdout] 290 | |         };
[INFO] [stdout]     | |_________^ expected `!`, found `()`
[INFO] [stdout]     |
[INFO] [stdout]     = note:   expected type `!`
[INFO] [stdout]             found unit type `()`
[INFO] [stdout]     = help: try adding a diverging expression, such as `return` or `panic!(..)`
[INFO] [stdout]     = help: ...or use `match` instead of `let...else`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: `else` clause of `let...else` does not diverge
[INFO] [stdout]    --> stages/typec/src/func_builder/lookup.rs:295:96
[INFO] [stdout]     |
[INFO] [stdout] 295 |                   let &[PathSegmentAst::Name(spec_or_method), ref segments @ ..] = segments else {
[INFO] [stdout]     |  ________________________________________________________________________________________________^
[INFO] [stdout] 296 | |                     self.workspace.push(InvalidPathSegment {
[INFO] [stdout] 297 | |                         loc: SourceLoc {
[INFO] [stdout] 298 | |                             origin: self.source,
[INFO] [stdout] ...   |
[INFO] [stdout] 302 | |                     })?;
[INFO] [stdout] 303 | |                 };
[INFO] [stdout]     | |_________________^ expected `!`, found `()`
[INFO] [stdout]     |
[INFO] [stdout]     = note:   expected type `!`
[INFO] [stdout]             found unit type `()`
[INFO] [stdout]     = help: try adding a diverging expression, such as `return` or `panic!(..)`
[INFO] [stdout]     = help: ...or use `match` instead of `let...else`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: `else` clause of `let...else` does not diverge
[INFO] [stdout]    --> stages/typec/src/func_builder/lookup.rs:363:86
[INFO] [stdout]     |
[INFO] [stdout] 363 |           let &[PathSegmentAst::Name(method_ident), ref segments @ ..] = segments else {
[INFO] [stdout]     |  ______________________________________________________________________________________^
[INFO] [stdout] 364 | |             self.workspace.push(InvalidPathSegment {
[INFO] [stdout] 365 | |                 loc: SourceLoc {
[INFO] [stdout] 366 | |                     origin: self.source,
[INFO] [stdout] ...   |
[INFO] [stdout] 370 | |             })?;
[INFO] [stdout] 371 | |         };
[INFO] [stdout]     | |_________^ expected `!`, found `()`
[INFO] [stdout]     |
[INFO] [stdout]     = note:   expected type `!`
[INFO] [stdout]             found unit type `()`
[INFO] [stdout]     = help: try adding a diverging expression, such as `return` or `panic!(..)`
[INFO] [stdout]     = help: ...or use `match` instead of `let...else`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: `else` clause of `let...else` does not diverge
[INFO] [stdout]    --> stages/typec/src/func_builder/lookup.rs:363:86
[INFO] [stdout]     |
[INFO] [stdout] 363 |           let &[PathSegmentAst::Name(method_ident), ref segments @ ..] = segments else {
[INFO] [stdout]     |  ______________________________________________________________________________________^
[INFO] [stdout] 364 | |             self.workspace.push(InvalidPathSegment {
[INFO] [stdout] 365 | |                 loc: SourceLoc {
[INFO] [stdout] 366 | |                     origin: self.source,
[INFO] [stdout] ...   |
[INFO] [stdout] 370 | |             })?;
[INFO] [stdout] 371 | |         };
[INFO] [stdout]     | |_________^ expected `!`, found `()`
[INFO] [stdout]     |
[INFO] [stdout]     = note:   expected type `!`
[INFO] [stdout]             found unit type `()`
[INFO] [stdout]     = help: try adding a diverging expression, such as `return` or `panic!(..)`
[INFO] [stdout]     = help: ...or use `match` instead of `let...else`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: `else` clause of `let...else` does not diverge
[INFO] [stdout]    --> stages/typec/src/func_builder/lookup.rs:449:54
[INFO] [stdout]     |
[INFO] [stdout] 449 |               let Some(inferred) = inference.ty() else {
[INFO] [stdout]     |  ______________________________________________________^
[INFO] [stdout] 450 | |                 self.workspace.push(CannotInferExpression {
[INFO] [stdout] 451 | |                     help: "Try specifying the type before '\\'",
[INFO] [stdout] 452 | |                     loc: SourceLoc { origin: self.source, span: path.span() },
[INFO] [stdout] 453 | |                 })?;
[INFO] [stdout] 454 | |             };
[INFO] [stdout]     | |_____________^ expected `!`, found `()`
[INFO] [stdout]     |
[INFO] [stdout]     = note:   expected type `!`
[INFO] [stdout]             found unit type `()`
[INFO] [stdout]     = help: try adding a diverging expression, such as `return` or `panic!(..)`
[INFO] [stdout]     = help: ...or use `match` instead of `let...else`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: `else` clause of `let...else` does not diverge
[INFO] [stdout]    --> stages/typec/src/func_builder/lookup.rs:475:54
[INFO] [stdout]     |
[INFO] [stdout] 475 |           let PathSegmentAst::Name(start) = start else {
[INFO] [stdout]     |  ______________________________________________________^
[INFO] [stdout] 476 | |             self.workspace.push(InvalidPathSegment {
[INFO] [stdout] 477 | |                 loc: SourceLoc {
[INFO] [stdout] 478 | |                     origin: self.source,
[INFO] [stdout] ...   |
[INFO] [stdout] 482 | |             })?;
[INFO] [stdout] 483 | |         };
[INFO] [stdout]     | |_________^ expected `!`, found `()`
[INFO] [stdout]     |
[INFO] [stdout]     = note:   expected type `!`
[INFO] [stdout]             found unit type `()`
[INFO] [stdout]     = help: try adding a diverging expression, such as `return` or `panic!(..)`
[INFO] [stdout]     = help: ...or use `match` instead of `let...else`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: `else` clause of `let...else` does not diverge
[INFO] [stdout]    --> stages/typec/src/func_builder/lookup.rs:449:54
[INFO] [stdout]     |
[INFO] [stdout] 449 |               let Some(inferred) = inference.ty() else {
[INFO] [stdout]     |  ______________________________________________________^
[INFO] [stdout] 450 | |                 self.workspace.push(CannotInferExpression {
[INFO] [stdout] 451 | |                     help: "Try specifying the type before '\\'",
[INFO] [stdout] 452 | |                     loc: SourceLoc { origin: self.source, span: path.span() },
[INFO] [stdout] 453 | |                 })?;
[INFO] [stdout] 454 | |             };
[INFO] [stdout]     | |_____________^ expected `!`, found `()`
[INFO] [stdout]     |
[INFO] [stdout]     = note:   expected type `!`
[INFO] [stdout]             found unit type `()`
[INFO] [stdout]     = help: try adding a diverging expression, such as `return` or `panic!(..)`
[INFO] [stdout]     = help: ...or use `match` instead of `let...else`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: `else` clause of `let...else` does not diverge
[INFO] [stdout]    --> stages/typec/src/func_builder/lookup.rs:475:54
[INFO] [stdout]     |
[INFO] [stdout] 475 |           let PathSegmentAst::Name(start) = start else {
[INFO] [stdout]     |  ______________________________________________________^
[INFO] [stdout] 476 | |             self.workspace.push(InvalidPathSegment {
[INFO] [stdout] 477 | |                 loc: SourceLoc {
[INFO] [stdout] 478 | |                     origin: self.source,
[INFO] [stdout] ...   |
[INFO] [stdout] 482 | |             })?;
[INFO] [stdout] 483 | |         };
[INFO] [stdout]     | |_________^ expected `!`, found `()`
[INFO] [stdout]     |
[INFO] [stdout]     = note:   expected type `!`
[INFO] [stdout]             found unit type `()`
[INFO] [stdout]     = help: try adding a diverging expression, such as `return` or `panic!(..)`
[INFO] [stdout]     = help: ...or use `match` instead of `let...else`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 2 previous errors
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0432, E0583.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0432`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `mir` due to 3 previous errors
[INFO] [stdout] error: aborting due to 2 previous errors
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0432, E0583.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0432`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `mir` due to 3 previous errors
[INFO] [stdout] error[E0308]: `else` clause of `let...else` does not diverge
[INFO] [stdout]    --> stages/typec/src/func_builder/mod.rs:204:94
[INFO] [stdout]     |
[INFO] [stdout] 204 |                   let (Ty::Struct(struct_ty), params) = ty.caller_with_params(self.typec) else {
[INFO] [stdout]     |  ______________________________________________________________________________________________^
[INFO] [stdout] 205 | |                     self.workspace.push(UnexpectedPatternType {
[INFO] [stdout] 206 | |                         loc: SourceLoc { origin: self.source, span: fields.span() },
[INFO] [stdout] 207 | |                         ty: self.typec.display_ty(ty, self.interner),
[INFO] [stdout] ...   |
[INFO] [stdout] 210 | |                     })?;
[INFO] [stdout] 211 | |                 };
[INFO] [stdout]     | |_________________^ expected `!`, found `()`
[INFO] [stdout]     |
[INFO] [stdout]     = note:   expected type `!`
[INFO] [stdout]             found unit type `()`
[INFO] [stdout]     = help: try adding a diverging expression, such as `return` or `panic!(..)`
[INFO] [stdout]     = help: ...or use `match` instead of `let...else`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: `else` clause of `let...else` does not diverge
[INFO] [stdout]    --> stages/typec/src/func_builder/mod.rs:204:94
[INFO] [stdout]     |
[INFO] [stdout] 204 |                   let (Ty::Struct(struct_ty), params) = ty.caller_with_params(self.typec) else {
[INFO] [stdout]     |  ______________________________________________________________________________________________^
[INFO] [stdout] 205 | |                     self.workspace.push(UnexpectedPatternType {
[INFO] [stdout] 206 | |                         loc: SourceLoc { origin: self.source, span: fields.span() },
[INFO] [stdout] 207 | |                         ty: self.typec.display_ty(ty, self.interner),
[INFO] [stdout] ...   |
[INFO] [stdout] 210 | |                     })?;
[INFO] [stdout] 211 | |                 };
[INFO] [stdout]     | |_________________^ expected `!`, found `()`
[INFO] [stdout]     |
[INFO] [stdout]     = note:   expected type `!`
[INFO] [stdout]             found unit type `()`
[INFO] [stdout]     = help: try adding a diverging expression, such as `return` or `panic!(..)`
[INFO] [stdout]     = help: ...or use `match` instead of `let...else`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: `else` clause of `let...else` does not diverge
[INFO] [stdout]    --> stages/typec/src/func_builder/mod.rs:298:71
[INFO] [stdout]     |
[INFO] [stdout] 298 |                   let Ty::Enum(enum_ty) = ty_base.base(self.typec) else {
[INFO] [stdout]     |  _______________________________________________________________________^
[INFO] [stdout] 299 | |                     self.workspace.push(UnexpectedPatternType {
[INFO] [stdout] 300 | |                         loc: SourceLoc { origin: self.source, span: ctor.span() },
[INFO] [stdout] 301 | |                         ty: self.typec.display_ty(ty, self.interner),
[INFO] [stdout] ...   |
[INFO] [stdout] 304 | |                     })?;
[INFO] [stdout] 305 | |                 };
[INFO] [stdout]     | |_________________^ expected `!`, found `()`
[INFO] [stdout]     |
[INFO] [stdout]     = note:   expected type `!`
[INFO] [stdout]             found unit type `()`
[INFO] [stdout]     = help: try adding a diverging expression, such as `return` or `panic!(..)`
[INFO] [stdout]     = help: ...or use `match` instead of `let...else`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: `else` clause of `let...else` does not diverge
[INFO] [stdout]    --> stages/typec/src/func_builder/mod.rs:298:71
[INFO] [stdout]     |
[INFO] [stdout] 298 |                   let Ty::Enum(enum_ty) = ty_base.base(self.typec) else {
[INFO] [stdout]     |  _______________________________________________________________________^
[INFO] [stdout] 299 | |                     self.workspace.push(UnexpectedPatternType {
[INFO] [stdout] 300 | |                         loc: SourceLoc { origin: self.source, span: ctor.span() },
[INFO] [stdout] 301 | |                         ty: self.typec.display_ty(ty, self.interner),
[INFO] [stdout] ...   |
[INFO] [stdout] 304 | |                     })?;
[INFO] [stdout] 305 | |                 };
[INFO] [stdout]     | |_________________^ expected `!`, found `()`
[INFO] [stdout]     |
[INFO] [stdout]     = note:   expected type `!`
[INFO] [stdout]             found unit type `()`
[INFO] [stdout]     = help: try adding a diverging expression, such as `return` or `panic!(..)`
[INFO] [stdout]     = help: ...or use `match` instead of `let...else`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: `else` clause of `let...else` does not diverge
[INFO] [stdout]    --> stages/typec/src/item_collector/mod.rs:178:96
[INFO] [stdout]     |
[INFO] [stdout] 178 |                   let Some(methods) = slots.iter().copied().collect::<Option<BumpVec<_>>>() else {
[INFO] [stdout]     |  ________________________________________________________________________________________________^
[INFO] [stdout] 179 | |                     let missing = self.typec[spec_methods]
[INFO] [stdout] 180 | |                         .iter()
[INFO] [stdout] 181 | |                         .zip(slots.as_slice())
[INFO] [stdout] ...   |
[INFO] [stdout] 189 | |                     })?;
[INFO] [stdout] 190 | |                 };
[INFO] [stdout]     | |_________________^ expected `!`, found `()`
[INFO] [stdout]     |
[INFO] [stdout]     = note:   expected type `!`
[INFO] [stdout]             found unit type `()`
[INFO] [stdout]     = help: try adding a diverging expression, such as `return` or `panic!(..)`
[INFO] [stdout]     = help: ...or use `match` instead of `let...else`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: `else` clause of `let...else` does not diverge
[INFO] [stdout]    --> stages/typec/src/item_collector/mod.rs:178:96
[INFO] [stdout]     |
[INFO] [stdout] 178 |                   let Some(methods) = slots.iter().copied().collect::<Option<BumpVec<_>>>() else {
[INFO] [stdout]     |  ________________________________________________________________________________________________^
[INFO] [stdout] 179 | |                     let missing = self.typec[spec_methods]
[INFO] [stdout] 180 | |                         .iter()
[INFO] [stdout] 181 | |                         .zip(slots.as_slice())
[INFO] [stdout] ...   |
[INFO] [stdout] 189 | |                     })?;
[INFO] [stdout] 190 | |                 };
[INFO] [stdout]     | |_________________^ expected `!`, found `()`
[INFO] [stdout]     |
[INFO] [stdout]     = note:   expected type `!`
[INFO] [stdout]             found unit type `()`
[INFO] [stdout]     = help: try adding a diverging expression, such as `return` or `panic!(..)`
[INFO] [stdout]     = help: ...or use `match` instead of `let...else`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: `else` clause of `let...else` does not diverge
[INFO] [stdout]    --> stages/typec/src/ty_parser/mod.rs:165:84
[INFO] [stdout]     |
[INFO] [stdout] 165 |                   let &[PathSegmentAst::Name(ty), ref segments @ ..] = segments else {
[INFO] [stdout]     |  ____________________________________________________________________________________^
[INFO] [stdout] 166 | |                     self.workspace.push(MissingIdentAfterMod {
[INFO] [stdout] 167 | |                         span: segments.first().map(|s| s.span()).unwrap_or(path.span()),
[INFO] [stdout] 168 | |                         source: self.source,
[INFO] [stdout] 169 | |                     })?;
[INFO] [stdout] 170 | |                 };
[INFO] [stdout]     | |_________________^ expected `!`, found `()`
[INFO] [stdout]     |
[INFO] [stdout]     = note:   expected type `!`
[INFO] [stdout]             found unit type `()`
[INFO] [stdout]     = help: try adding a diverging expression, such as `return` or `panic!(..)`
[INFO] [stdout]     = help: ...or use `match` instead of `let...else`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 26 previous errors
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0308, E0432, E0583.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0308`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `typec` due to 27 previous errors
[INFO] [stdout] error[E0308]: `else` clause of `let...else` does not diverge
[INFO] [stdout]    --> stages/typec/src/ty_parser/mod.rs:165:84
[INFO] [stdout]     |
[INFO] [stdout] 165 |                   let &[PathSegmentAst::Name(ty), ref segments @ ..] = segments else {
[INFO] [stdout]     |  ____________________________________________________________________________________^
[INFO] [stdout] 166 | |                     self.workspace.push(MissingIdentAfterMod {
[INFO] [stdout] 167 | |                         span: segments.first().map(|s| s.span()).unwrap_or(path.span()),
[INFO] [stdout] 168 | |                         source: self.source,
[INFO] [stdout] 169 | |                     })?;
[INFO] [stdout] 170 | |                 };
[INFO] [stdout]     | |_________________^ expected `!`, found `()`
[INFO] [stdout]     |
[INFO] [stdout]     = note:   expected type `!`
[INFO] [stdout]             found unit type `()`
[INFO] [stdout]     = help: try adding a diverging expression, such as `return` or `panic!(..)`
[INFO] [stdout]     = help: ...or use `match` instead of `let...else`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 26 previous errors
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0308, E0432, E0583.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0308`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `typec` due to 27 previous errors
[INFO] running `Command { std: "docker" "inspect" "d89fd1bf987dbbd01fb3b17335037af3d0ed5c358571a4b334f3bddc0cdd7a8c", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "d89fd1bf987dbbd01fb3b17335037af3d0ed5c358571a4b334f3bddc0cdd7a8c", kill_on_drop: false }`
[INFO] [stdout] d89fd1bf987dbbd01fb3b17335037af3d0ed5c358571a4b334f3bddc0cdd7a8c
